﻿/// <summary>
/// 节点类型
/// </summary>
var ActivityType =
{
    /// <summary>
    /// 开始节点
    /// </summary>
    'Start': 0,
    /// <summary>
    /// 结束
    /// </summary>
    'End': 1,
    /// <summary>
    /// 起草节点
    /// </summary>
    'Drafting': 2,

    /// <summary>
    /// 条件分支
    /// </summary>
    'Condition': 3,

    /// <summary>
    /// 审批节点（包含并行和串行两种模式）
    /// </summary>
    'Approval': 4,
    /// <summary>
    /// 审阅节点
    /// </summary>
    'Freedom': 4,

    /// <summary>
    /// 分支
    /// </summary>
    'Work': 5,

    /// <summary>
    /// 合并
    /// </summary>
    'Freedom': 6,

    /// <summary>
    /// 子流程
    /// </summary>
    'Subprocesses': 7





}


var ActivityPropertyStatus =
{
    /// <summary>
    /// 是否编辑表单
    /// </summary>
    ENABLE_EDIT_ATTACHMENT: "0|2",
    //是否添加附件
    ENABLE_ATTACHMENT: "2|2",
    /// <summary>
    /// 是否查看审批历史
    /// </summary>
    ENABLE_SHOW: "4|2",
    /// <summary>
    /// 是否提交意见
    /// </summary>
    ENABLE_SUGGESTION: "6|2",
    /// <summary>
    /// 是否需要签名
    /// </summary>
    ENABLE_SIGNATURE: "8|2",
    /// <summary>
    /// 是否终止流程
    /// </summary>
    ENABLE_TERMINATE_FLOW: "10|2",
    /// <summary>
    /// 合并审批节点
    /// </summary>
    IS_MERGR: "12|2",
    /// <summary>
    /// 是否转批
    /// </summary>
    ENABLE_TRANSFER: "14|2",
    /// <summary>
    /// 是否传阅
    /// </summary>
    ENABLE_CIRCULATED: "16|2",
    /// <summary>
    /// 是否归档
    /// </summary>
    ENABLE_FILED: "18|2",
    /// <summary>
    /// 是否人工决策
    /// </summary>
    IS_ARTIFICIAL_DECISION: "20|2",
    /// <summary>
    /// 选人方式
    /// </summary>
    IS_AUTOMATIC: "22|2",
    /// <summary>
    /// 完成方式
    /// </summary>
    FINISH_TYPE: "24|2",
    /// <summary>
    /// 在线公文打开方式
    /// </summary>
    OPEN_MODE_TYPE: "26|4",
    /// <summary>
    /// 是否限制上传附件
    /// </summary>
    IS_UPLOAD_AUTOMATIC: "30|2"
}